//
//  CertCardCode.m
//  TestProject
//
//  Created by 武侠 on 2022/2/21.
//  Copyright © 2022 zhulong. All rights reserved.
//

#import "CertCardCode.h"
#import "CertTLV.h"

@implementation CertCardCode

- (void)loadCertData {
    char *data = (char *)self.data.bytes;
    CertItemLength *length = [[CertItemLength alloc] initWithData:data index:1];
    self.value = [CertTLV uasciiStringFromValue:data begin:0 length:length];
}

- (NSString *)description {
    return self.value;
}
@end
